package homework.day08.bean;

/**
 * @author ThinkBook
 */
public class Cat extends Animal{
    private String color;
    public Cat(String name,String color){
        super(name);
        this.color = color;
    }
    @Override
    public void makeSound(){
        System.out.println("猫发出喵喵叫声");
    }
    @Override
    public void move(){
        System.out.println("猫在四腿爬⾏");
    }
}
